package com.godGuang.consultation.mapper;

import com.godGuang.consultation.domain.Advisory;
import com.godGuang.consultation.domain.AdvisoryReq;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @program: godGuang-medical
 * @description:
 * @author: godGuang
 * @create: 2024-01-15 15:37
 **/
@Mapper
public interface AdvisoryMapper {

    void insertAdvisory(Advisory advisory);

    List<Advisory> list(AdvisoryReq advisory);

    Integer findByCountId(@Param("doctorId") Long doctorId, @Param("userId") Long userId);

    void updAdvisory(Advisory advisory);
}
